package com.yuandian.management.mapper;

import com.yuandian.api.management.entity.ConfAgentIp;
import com.yuandian.bpm.common.data.datascope.BpmBaseMapper;
import com.yuandian.management.vo.AgentIpPojo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * agentip管理表-Mapper接口
 * @author zfsn
 * @date 2023-4-14
 */
@Mapper
public interface ConfAgentIpMapper extends BpmBaseMapper<ConfAgentIp> {
	int updateByIpSelective(AgentIpPojo agentIp);

	void insertAgentIp(AgentIpPojo agentIp);

	int countNormalAgentIp();


	/**
	 * 根据条件查询
	 *
	 * @param searchKey
	 * @return
	 */
    List<ConfAgentIp> queryList(String searchKey);
}